package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SaleOrderLogisticsEntity;

/**
 * 销售订单物流跟踪Service接口
 * 
 * @author wutao
 * @date 2024-06-30
 */
public interface ISaleOrderLogisticsService extends IService<SaleOrderLogisticsEntity> {
    /**
     * 查询销售订单物流跟踪
     * 
     * @param id 销售订单物流跟踪ID
     * @return 销售订单物流跟踪
     */
    public SaleOrderLogisticsEntity selectSaleOrderLogisticsById(String id);

    /**
     * 查询销售订单物流跟踪列表
     * 
     * @param saleOrderLogistics 销售订单物流跟踪
     * @return 销售订单物流跟踪集合
     */
    public List<SaleOrderLogisticsEntity> selectSaleOrderLogisticsList(SaleOrderLogisticsEntity saleOrderLogistics);

    /**
     * 新增销售订单物流跟踪
     * 
     * @param saleOrderLogistics 销售订单物流跟踪
     * @return 结果
     */
    public int insertSaleOrderLogistics(SaleOrderLogisticsEntity saleOrderLogistics);

    /**
     * 修改销售订单物流跟踪
     * 
     * @param saleOrderLogistics 销售订单物流跟踪
     * @return 结果
     */
    public int updateSaleOrderLogistics(SaleOrderLogisticsEntity saleOrderLogistics);

    /**
     * 批量删除销售订单物流跟踪
     * 
     * @param ids 需要删除的销售订单物流跟踪ID
     * @return 结果
     */
    public int deleteSaleOrderLogisticsByIds(String[] ids);

    /**
     * 删除销售订单物流跟踪信息
     * 
     * @param id 销售订单物流跟踪ID
     * @return 结果
     */
    public int deleteSaleOrderLogisticsById(String id);
}
